# -*- coding: utf-8 -*-
# @Author   : Claus
# @Time     : 2020/6/16 10:39
# @FileName : selenium_test.py
from time import sleep
from selenium import webdriver


chrome = webdriver.Chrome()
chrome.get("https://www.baidu.com")
sleep(2)
chrome.get("https://www.huya.com")

for i in range(1, 3):
    chrome.get("https://www.doutula.com/photo/list/?page={}".format(i))
    sleep(2)
